package com.jcw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jcw.common.R;
import com.jcw.domain.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jcw.dto.SetmealDto;

import java.util.List;

/**
* @author JCW
* @description 针对表【setmeal(套餐)】的数据库操作Service
* @createDate 2023-03-28 18:12:57
*/
public interface SetmealService extends IService<Setmeal> {

    R<Page> pagination(int page, int pageSize, String name);

    R<String> add(SetmealDto setmealDto);

    R<SetmealDto> echo(Long id);

    R<String> edit(SetmealDto setmealDto);

    R<String> editStatus(int statusCode, String ids);

    R<String> delete(String ids);

    R<List> setmealList(String categoryId, Integer status);
}
